﻿using MgSoft.K3Cloud.WebApi.Common.Dto.Stk;
using MgSoft.K3Cloud.WebApi.Dto;
using System;
using System.Collections.Generic;
using System.Text;

namespace MgSoft.K3Cloud.WebApi.Common.Api.Stk
{
    /// <summary>
    /// 即时库存
    /// </summary>
    public class Stk_InventoryApi : BaseApi, IStk_InventoryApi
    {

        protected override string formId => "STK_Inventory";

        public Stk_InventoryApi(ApiServerInfo apiServerInfo, IMgLogger logger = null) : base(apiServerInfo, logger)
        {
        }

        public Stk_InventoryApi(string serverUrl, string dbid, string userName, string password, int lcid = 2052) : base(serverUrl, dbid, userName, password, lcid)
        {
        }

        /// <summary>
        /// 即时库存没有该方法
        /// </summary>
        /// <param name="saveInputDto"></param>
        /// <returns></returns>
        public override List<SaveOutPutDto> Save(SaveInputDto saveInputDto)
        {
            throw new Exception("即时库存 不支持该方法");
        }

    }
}
